package com.psytech.app.task.web_ui.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UIUser implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2682525902323805421L;
	private String uid;
	private String firstName;
	private String lastName;
	private String nickName;
	private String password;
	private String login;
	private UIUser creator;
	private List<UIUser> affectedUser;

	public String getUid() {
		return uid;
	}

	public void setUid(final String uid) {
		this.uid = uid;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(final String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(final String lastName) {
		this.lastName = lastName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(final String nickName) {
		this.nickName = nickName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(final String password) {
		this.password = password;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(final String login) {
		this.login = login;
	}

	public UIUser getCreator() {
		return creator;
	}

	public void setCreator(final UIUser creator) {
		this.creator = creator;
	}

	public List<UIUser> getAffectedUser() {
		if (affectedUser == null)
			affectedUser = new ArrayList<UIUser>();
		return affectedUser;
	}

}
